package com.example.elderlycare.dao.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Tolerate;

import java.util.Date;

@Data
@TableName("book_records")
@Builder
public class BookRecord {
    private Integer id;
    private Date deletedAt;
    private Date bookingDate;
    private Date checkInDate;
    private String bookerName;
    private String bookerPhone;
    private String elderName;
    private Integer elderCertificateId;
    @TableField(exist = false)
    private String elderCertificate;
    private String elderNumber;
    private Integer nurseId;
    @TableField(exist = false)
    private String nursingHome;
    private String selfCareSituation;
    private Integer status;

    @Tolerate
    BookRecord() {
    }
}
